Global Index
HTML5 JS API Index > Browser Tutorials & Specs

HashChangeEvent

Extends Event.

Properties
DOMString
newURL
The newURL attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to null. It represents context information for the event, specifically the URL of the session history entry that was traversed to.
DOMString
oldURL
The oldURL attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to null. It represents context information for the event, specifically the URL of the session history entry that was traversed from.
Constructor
HashChangeEvent(DOMString type, optional HashChangeEventInit eventInitDict)